<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>The StompFrame class</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="stomp.unsubscribe.html">Stomp::unsubscribe</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="stompframe.construct.html">StompFrame::__construct</a></div>
 <div class="up"><a href="book.stomp.html">Stomp</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="class.stompframe" class="reference">

 <h1 class="title">The StompFrame class</h1>
 

 <div class="partintro"><p class="verinfo">(PECL stomp &gt;= 0.1.0)</p>


  <div class="section" id="stompframe.intro">
   <h2 class="title">简介</h2>
   <p class="para">
    Represents a message which was sent or received from a Stomp compliant Message Broker.
   </p>
  </div>


  <div class="section" id="stompframe.synopsis">
   <h2 class="title">类摘要</h2>


   <div class="classsynopsis">
    <div class="ooclass"></div>


    <div class="classsynopsisinfo">
     <span class="ooclass">
      <strong class="classname">StompFrame</strong>
     </span>
     {</div>

    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 属性 */</div>
    <div class="fieldsynopsis">
     <span class="modifier">public</span>
      <var class="varname"><a href="class.stompframe.html#stompframe.props.command">$<var class="varname">command</var></a></var>
    ;</div>

    <div class="fieldsynopsis">
     <span class="modifier">public</span>
      <var class="varname"><a href="class.stompframe.html#stompframe.props.headers">$<var class="varname">headers</var></a></var>
    ;</div>

    <div class="fieldsynopsis">
     <span class="modifier">public</span>
      <var class="varname"><a href="class.stompframe.html#stompframe.props.body">$<var class="varname">body</var></a></var>
    ;</div>


    
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 方法 */</div>
    <div class="methodsynopsis dc-description">
   <span class="methodname"><a href="stompframe.construct.html" class="methodname">__construct</a></span>
    ([ <span class="methodparam"><span class="type">string</span> <code class="parameter">$command</code></span>
   [, <span class="methodparam"><span class="type">array</span> <code class="parameter">$headers</code></span>
   [, <span class="methodparam"><span class="type">string</span> <code class="parameter">$body</code></span>
  ]]] )</div>

   }</div>


  </div>

  

  <div class="section" id="stompframe.props">
   <h2 class="title">属性</h2>
   <dl>

    
     <dt id="stompframe.props.command"><var class="varname"><var class="varname">command</var></var></dt>

     <dd>

      <p class="para">Frame command.</p>
     </dd>

    
    
     <dt id="stompframe.props.headers"><var class="varname"><var class="varname">headers</var></var></dt>

     <dd>

      <p class="para">Frame headers (<span class="type"><a href="language.types.array.html" class="type array">array</a></span>).</p>
     </dd>

    
    
     <dt id="stompframe.props.body"><var class="varname"><var class="varname">body</var></var></dt>

     <dd>

      <p class="para">Frame body.</p>
     </dd>

    
   </dl>

  </div>



 </div>

 








<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="stompframe.construct.html">StompFrame::__construct</a> — Constructor</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="stomp.unsubscribe.html">Stomp::unsubscribe</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="stompframe.construct.html">StompFrame::__construct</a></div>
 <div class="up"><a href="book.stomp.html">Stomp</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
